export const fileManagementRouter: Array<any> = [
  // 文件管理
  {
    path: '/fileManagement',
    name: 'FileManagement',
    meta: { title: '文件管理', needLogin: true, icon: 'demo' },
    children: [
      {
        path: 'documentApplication',
        name: 'FileDocumentApplication',
        meta: { title: '文件申请', needLogin: true, icon: 'demo' },
        component: () => import('@/views/fileManagement/documentApplication/index.vue')
      },
      {
        path: 'addDocumentApp',
        name: 'documentApplicationAddFile',
        meta: { title: '文件新建申请', needLogin: true, icon: 'demo', hidden: true },
        component: () => import('@/views/fileManagement/addDocumentApp/index.vue')
      },
      {
        path: 'addDocumentApp',
        name: 'documentAppReviseAddFile',
        meta: { title: '文件修订申请', needLogin: true, icon: 'demo', hidden: true },
        component: () => import('@/views/fileManagement/reviseDocumentApp/index.vue')
      },
      {
        path: 'addDocumentApp',
        name: 'documentAppVoidAddFile',
        meta: { title: '文件作废申请', needLogin: true, icon: 'demo', hidden: true },
        component: () => import('@/views/fileManagement/voidDocumentApp/index.vue')
      },
      {
        path: 'documentValidation',
        name: 'FileDocumentValidation',
        meta: { title: '文件生效', needLogin: true, icon: 'demo' },
        component: () => import('@/views/fileManagement/documentValidation/index.vue')
      }
    ]
  }
];
